package com.csthink.common.infrastructure.constant;

import java.util.regex.Pattern;

/**
 * @author <a href="mailto:security.2009@live.cn">Mars</a>
 * @since 2023-09-11
 */
public class Constants {

    public static final Pattern AUDIT_LOGGING_PATTERN_DETAIL_KEYWORD =
            Pattern.compile("\\{\\{[\\w\\-.]*\\}\\}", Pattern.CASE_INSENSITIVE);

    public static final String SYSTEM_CONFIG_LOCAL_CACHE_UPDATE = "cache_update";
    public static final String SYSTEM_CONFIG_LOCAL_CACHE_FLUSH_ALL = "flush_all_cache";
    public static final String SYSTEM_CONFIG_LOCAL_CACHE_KEYS_UPDATE = "key_update";

    public static final String TRACE_ID = "traceId";
    public static final String REGION = "region";
}
